From: Jim Blandy Date: Mon, 10 May 1993 00:25:40 +0000 (+0000) Subject: * xfns.c (x_make_gc): After building the GC's for the frame, call X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96329 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9c7bb45ff3f5a5306ae7a9a203fbb81007733aa4;p=emacs.git * xfns.c (x_make_gc): After building the GC's for the frame, call init_frame_faces to set up the first two faces. * xfaces.c (init_frame_faces): Don't just try to copy the default and mode line faces from some other random frame; instead, consult the normal_gc and reverse_gc members of the frame, and build the faces based on their parameters. --- diff --git a/src/xfns.c b/src/xfns.c index 3aa9b117dab..a02e20de419 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1796,6 +1796,8 @@ x_make_gc (f) f->display.x->background_pixel, DefaultDepth (x_current_display, XDefaultScreen (x_current_display)))); + init_frame_faces (f); + UNBLOCK_INPUT; } #endif /* HAVE_X11 */